@import "../cad-tree-menu/cad-tree-menu.component";
.cad-level-content {
  height: 100%;
  overflow-y: auto;
  .cad-level-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    li {
      width: 14%;
      box-sizing: border-box;
      border: 1px solid #cccccc;
      list-style: none;
      margin-bottom: 6px;
      .subgroup-images {
        position: relative;
        padding-bottom: 100%;
        cursor: pointer;
        img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
        }
        span {
          position: absolute;
          left: 0;
          bottom: 0;
          padding: 4px;
          background-color: #000c17;
          color: #ffffff;
        }
      }
      &.active {
        border: 2px solid #12A1FF;
      }
      &.hide {
        height: 0;
        border: none;
        margin: 0;
      }
    }
  }
  .cad-level-empty {
    text-align: center;
    margin-top: 200px;
  }
}

.cad-menu-search {
  margin-bottom: 8px;

  input {
    @include cadInput();
  }

  /deep/ .cad-tree-menu-clear {
    margin-right: 4px;
    cursor: pointer;
  }
}
